package com.dcloud.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dcloud.manage.service.entity.CollectTask;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dcloud.manage.request.CollectTaskSqlRequest;
import com.dcloud.manage.vo.CollectTaskSqlVO;

import java.util.Date;
import java.util.List;

/**
 * @Description: 同步任务表
 * @Author: jeecg-boot
 * @Date:   2022-09-07
 * @Version: V1.0
 */
public interface ICollectTaskService extends IService<CollectTask> {

    List<CollectTask> queryTaskByState(String content, Date currentDate);

    Page<CollectTaskSqlVO> pageInfo(Page<CollectTaskSqlVO> page, CollectTask collectTask);

    void saveByTaskSqlReq(CollectTaskSqlRequest collectTaskSqlRequest);

    void updateByTaskSqlReq(CollectTaskSqlRequest collectTaskSqlRequest);

    List<CollectTaskSqlVO> listByParams(CollectTask collectTask);
}
